package com.myproject.music.mapper;

import com.myproject.music.domain.Song;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper

public interface SongMapper {
    public Song selectSongById(Long id);
    public List<Song> selectSongByParam(String songName);

    public List<Song> selectCreatorByParam(String creator);
    public int insertSong(Song song);
    public int updateSong(Song song);
    public int deleteSongById(Long id);
    public List<Song> selectSongAll();
}
